package com.aaa.tomcat;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @create by: Teacher陈
 * @description: 自定义的servlet注解
 * @create time: 2021/1/20 16:51
 * @return
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface MyWebServlet {
    /**
     * 需要拦截的url，可以是多个
     * @return
     */
    String[] urlPatterns() default {};
}
